<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- The HTML 4.01 Transitional DOCTYPE declaration-->
<!-- above set at the top of the file will set     -->
<!-- the browser's rendering engine into           -->
<!-- "Quirks Mode". Replacing this declaration     -->
<!-- with a "Standards Mode" doctype is supported, -->
<!-- but may lead to some differences in layout.   -->

<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <title>LBS-Server</title>
  </head>

  <body>
    <h1>LBS Service</h1>
    <h3>Available <b>Get</b> Services:</h3>
    <!--
    <p>1. get location by id(xml) : <a href="/service/location/{location_id}">/service/location/{location_id}</a></p>
    <p>2. get all locations(xml) : <a href="/service/location">/service/location</a></p>
    -->
    <p>1. get friend by id(json) : <a href="/service/friend/{friend_id}">/service/friend/{friend_id}</a></p>
    <p>2. get all friends(json) : <a href="/service/friend">/service/friend</a></p>
    
	<h3>Available <b>Post</b> Services:</h3>
	<!--	
    <form action="/service/visit" method="post">
    	1. send post visit (/service/visit) : <input type="text" name="data" value="" size=50> (fill the data and press enter)<br>
   	    ex)<br><i>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&gt;
   	    &lt;place&gt;&lt;placeName&gt;신화수산&lt;/placeName&gt;&lt;latitude&gt;36.306126&lt;/latitude&gt;&lt;longitude&gt;126.521027&lt;/longitude&gt;&lt;user&gt;testUser&lt;/user&gt;&lt;placeId&gt;bc8024e4fd0467c14577e98d31c90db387002258&lt;/placeId&gt;&lt;/place&gt;</i>
    </form>
    -->
	        
    <form action="/service/myLocation" method="post">
    	1. send post myLocation (/service/myLocation) : <input type="text" name="data" size=50> (fill the data and press enter)<br>
   	    ex)<br><i>{"userId":"test","latitude":"37.5","longitude":"127.5"}</i>   	    	
    </form>

  </body>
</html>
